Skip to content

Change dev env detection - #4

Merged
Rongmario merged 2 commits into
CleanroomMC:mainfrom
RuiXuqi:main
Oct 12, 2026
Merged

Rongmario merged 2 commits into
CleanroomMC:mainfrom
RuiXuqi:main

Conversation

@RuiXuqi

@RuiXuqi RuiXuqi commented Oct 4, 2026

Copy link
Copy Markdown

Replace sun.java.command GradleStart with net.minecraftforge.gradle.GradleStart.srg.srg-mcp as the latter is more universal for Gradle plugins and used more widely (FMLDeobfuscatingRemapper#L127 CleanroomEnvironment.java#L13).
As an example of the issue, Unimined uses a different booting method so GradleStart detection failed.
Same tweak should also be applied in MixinBooter Environment.java#L11 and I suggest MixinBooter may call CleanMix directly instead of implementing again.

Replace `sun.java.command` `GradleStart` with `net.minecraftforge.gradle.GradleStart.srg.srg-mcp` as the latter is more universal for Gradle plugins
@Rongmario
Rongmario merged commit 2748080 into CleanroomMC:main Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants